/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.accident.domain;

import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "违章记录",description = "违章记录实体类")
public class PeccancyRecord extends BaseEntity {

    @ApiModelProperty(name = "corpCode",value = "水司code",required = true)
    private String corpCode;

    @ApiModelProperty(name = "corpName",value = "水司名称")
    private String corpName;

    @ApiModelProperty(name = "peccancyStaff",value = "违章人员code",required = true)
    private String peccancyStaff;

    @ApiModelProperty(name = "peccancyStaffName",value = "违章人员名称",required = true)
    private String peccancyStaffName;

    @ApiModelProperty(name = "peccancyStaffDept",value = "违章人员所在单位code",required = true)
    private String peccancyStaffDept;

    @ApiModelProperty(name = "peccancyStaffDeptName",value = "违章人员所在单位名称",required = true)
    private String peccancyStaffDeptName;

    @ApiModelProperty(name = "peccancyBehaviour",value = "违章行为",required = true)
    private String peccancyBehaviour;

    @ApiModelProperty(name = "peccancyDegree",value = "违章程度，0一般、1严重、2恶性",required = true)
    private Integer peccancyDegree;

    @ApiModelProperty(name = "peccancyType",value = "违章类型，0事件违章，1事故违章",required = true)
    private Integer peccancyType;

    @ApiModelProperty(name = "businessId",value = "关联的业务id，事件id或者事故报告id",required = true)
    private String businessId;

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public String getPeccancyStaff() {
        return peccancyStaff;
    }

    public void setPeccancyStaff(String peccancyStaff) {
        this.peccancyStaff = peccancyStaff;
    }

    public String getPeccancyStaffName() {
        return peccancyStaffName;
    }

    public void setPeccancyStaffName(String peccancyStaffName) {
        this.peccancyStaffName = peccancyStaffName;
    }

    public String getPeccancyStaffDept() {
        return peccancyStaffDept;
    }

    public void setPeccancyStaffDept(String peccancyStaffDept) {
        this.peccancyStaffDept = peccancyStaffDept;
    }

    public String getPeccancyStaffDeptName() {
        return peccancyStaffDeptName;
    }

    public void setPeccancyStaffDeptName(String peccancyStaffDeptName) {
        this.peccancyStaffDeptName = peccancyStaffDeptName;
    }

    public String getPeccancyBehaviour() {
        return peccancyBehaviour;
    }

    public void setPeccancyBehaviour(String peccancyBehaviour) {
        this.peccancyBehaviour = peccancyBehaviour;
    }

    public Integer getPeccancyDegree() {
        return peccancyDegree;
    }

    public void setPeccancyDegree(Integer peccancyDegree) {
        this.peccancyDegree = peccancyDegree;
    }

    public Integer getPeccancyType() {
        return peccancyType;
    }

    public void setPeccancyType(Integer peccancyType) {
        this.peccancyType = peccancyType;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    @Override
    public String toString() {
        return "PeccancyRecord{" +
                "corpCode='" + corpCode + '\'' +
                ", corpName='" + corpName + '\'' +
                ", peccancyStaff='" + peccancyStaff + '\'' +
                ", peccancyStaffName='" + peccancyStaffName + '\'' +
                ", peccancyStaffDept='" + peccancyStaffDept + '\'' +
                ", peccancyStaffDeptName='" + peccancyStaffDeptName + '\'' +
                ", peccancyBehaviour='" + peccancyBehaviour + '\'' +
                ", peccancyDegree=" + peccancyDegree +
                ", peccancyType=" + peccancyType +
                ", businessId='" + businessId + '\'' +
                '}';
    }
}
